package com.traveldesign.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.traveldesign.entity.Post;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.traveldesign.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;


/**
 * <p>
 * 帖子信息 Mapper 接口
 * </p>
 *
 * @author wangwang
 * @since 2025-02-27
 */
@Mapper
public interface PostMapper extends BaseMapper<Post> {
    IPage pageC(IPage<Post> page);
    IPage pageCC(Page<Post> page, @Param(Constants.WRAPPER) Wrapper wrapper);
}

